package priv.hibernate.m2m;

public class Teacher {

	private Integer type;
	private Integer age;
	private String name;

	public Teacher(Integer type, Integer age, String name) {
		this.name=name;
		this.age=age;
		this.type=type;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Teacher() {
	}

}
